package com.book.service;

import com.book.model.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wx
 * @since 2023-10-11 23:56:02
 */
public interface RoleService extends IService<Role> {


    List<Role> getAll();

    void addRole(Role role, Long[] mids);

    void updateRole(Role role, Long[] mids);

    void deleteRole(Long rid);
}
